package com.tx.admin.modules.space.entity;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

import com.tx.admin.core.entity.CardEntity;
import com.tx.admin.modules.rbac.entity.UserEntity;

import io.swagger.annotations.ApiModel;
import lombok.Data;

@Entity
@Data
@ApiModel("收藏夹文章关联")
public class FavoritesArticleEntity extends CardEntity{

	@ManyToOne
	private FavoritesEntity favorites;
	
	@ManyToOne
	private UserEntity user;
	
	
	
	
}
